package org.kzwl.comm.pojo.dto.thear;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("查询风采展示详情")
public class ThearDetailsDTO {

    @ApiModelProperty("自增")
    private Integer cuThearId;

    @ApiModelProperty("标题")
    private String cuThearTitle;

    @ApiModelProperty("内容")
    private String cuThearCenter;

    @ApiModelProperty("发布时间")
    private LocalDateTime cuThearDate;

    @ApiModelProperty("场馆ID")
    private Integer cuTownId;

    @ApiModelProperty("分类ID")
    private Integer cuThearCatId;

    @ApiModelProperty("封面")
    private String cuThearImg;

    @ApiModelProperty("用户编号")
    private Integer cuUserId;

    @ApiModelProperty("用户编号")
    private Integer cuAdminId;

    @ApiModelProperty("发布者名称")
    private String authorName;

    @ApiModelProperty("下一跳")
    private ThearItem next;

    @ApiModelProperty("上一跳")
    private ThearItem previous;

    @Data
    public static class ThearItem{
        @ApiModelProperty("自增")
        private Integer cuThearId;

        @ApiModelProperty("标题")
        private String cuThearTitle;
    }
}
